<?php
namespace app\index\controller;

use think\Controller;

use app\index\model\NewsModel;
use app\index\model\MeModel;
use think\Model;

class News extends Controller
{
    public function index()
    { 
        
        
        
        $news = new NewsModel();
        $News = ($news->getNew());
        $data['News']  =  $News;
        
        $new = new NewsModel();
        $New =($new->getNews());
        $data['New']  =  $New;
        
        $me = new MeModel();
        $Me = ($me->getMe());
        $data['Me']  =  $Me;
       
        return $this->fetch('/news/index',$data);

    }
    
    function getUserMobile()
    {
        
    }
     
}
